package com.lkd.shoppingcart.dao.impl;

import com.lkd.shoppingcart.dao.AdminDao;
import com.lkd.shoppingcart.entity.Admin;

public class AdminDaoImpl extends BaseDao implements AdminDao {

	@Override
	public Admin queryById(int adminId) {
		String sql = "select id from admin_view where id = ?";
		return queryForOne(Admin.class, sql, adminId);
	}

}
